﻿using System.Runtime.Serialization;
using TechEd.Data.Core.Entity.Attribute;
using TechEd.Data.Core.Entity.Base;

namespace TechEd.Data.Core.Entity
{
	[Entity("VideoInfo")]
	[DataContract]
	public class VideoInfo : BaseEntity
	{
		[DataMember]
		public string Name { get; set; }
		[DataMember]
		public string Title { get; set; }
		[DataMember]
		public string ShotDescription { get; set; }
		[DataMember]
		public string Description { get; set; }
		[DataMember]
		public VideoParams[] Params { get; set; }
	}

	[DataContract]
	public class VideoParams
	{
		[DataMember]
		public string BlobAddressUri { get; set; }
		[DataMember]
		public string Resolution { get; set; }
		[DataMember]
		public string Url { get; set; }
	}
}